package com.bookcycle.panda.webfront.vo;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class BookInfo {
    @JSONField(format = "yyyy-MM-dd")
    private Date d1; //预定入住时间
    @JSONField(format = "yyyy-MM-dd")
    private Date d2; //预定离房时间

    public Date getD1() {
        return d1;
    }

    public void setD1(Date d1) {
        this.d1 = d1;
    }

    public Date getD2() {
        return d2;
    }

    public void setD2(Date d2) {
        this.d2 = d2;
    }

    public long getOccupationDays() {
        return occupationDays;
    }

    public void setOccupationDays(long occupationDays) {
        this.occupationDays = occupationDays;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public Integer getPeopleCounts() {
        return peopleCounts;
    }

    public void setPeopleCounts(Integer peopleCounts) {
        this.peopleCounts = peopleCounts;
    }

    private long occupationDays;//入住天数

    private Integer payment; // 房费金额

    private Integer peopleCounts; //入住人数

    //private boolean needInvoice; //是否需要发票
}
